#模型下载
from modelscope import snapshot_download
# model_dir = snapshot_download('qwen/Qwen-72B-Chat',cache_dir='e:/models')
# import os
# os.environ['OPENAI_API_KEY'] = 'empty'
# from langchain_openai import ChatOpenAI
#
#
# llm = ChatOpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio", max_tokens=256, temperature=0.0, top_p=0.9)
#
# print(result)

model_dir = snapshot_download('BAAI/bge-m3',cache_dir='i:/models')


# import torch
# from diffusers import HunyuanDiTPipeline
#
# pipe = HunyuanDiTPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers", torch_dtype=torch.float16)
# pipe.to("cuda")

# You may also use English prompt as HunyuanDiT supports both English and Chinese
# prompt = "An astronaut riding a horse"
